/*
 * This is an adjustment of the original modena.css for a consistent dark theme.
 * Original modena.css here: https://gist.github.com/maxd/63691840fc372f22f470
 */
.root > * {
    -fx-background-color: #3c3f41;
}
/* Redefine base colors */
.root {
    -fx-base: #3c3f41;
    -fx-background: #3c3f41;
    -fx-mark-highlight-color: yellow;
    -fx-mark-color: white;
    /* make controls (buttons, thumb, etc.) slightly lighter */
    -fx-color: derive(-fx-base, 10%);
    -fx-default-button: #415a87;
    /* text fields and table rows background */
    -fx-control-inner-background: rgb(69,73,74);
    /* version of -fx-control-inner-background for alternative rows */
    -fx-control-inner-background-alt: derive(-fx-control-inner-background, 2.5%);

    /* text colors depending on background's brightness */
    -fx-light-text-color: rgb(220, 220, 220);
    -fx-mid-text-color: rgb(100, 100, 100);
    -fx-dark-text-color: rgb(69,73,74);

    /* A bright blue for highlighting/accenting objects.  For example: selected
     * text; selected items in menus, lists, trees, and tables; progress bars */
    -fx-accent: #4b6eaf;

    /* color of non-focused yet selected elements */
    -fx-selection-bar-non-focused: #3c3f41;
}

.notification-bar > .pane .title {
    -fx-text-fill: #ebebeb !important;
}

.notification-bar > .pane .label {
    -fx-text-fill: #ebebeb !important;
}

.popover > .content {
    -fx-fill: #3c3f41;
    -fx-background-color: #3c3f41;
}

.popover > .border {
    -fx-fill: #3c3f41 !important;
}
.tool-bar {
    -fx-background-color: #3c3f41;
}
/* Fix derived prompt color for text fields */
.text-input {
    -fx-prompt-text-fill: derive(-fx-control-inner-background, +50%);
}

/* Keep prompt invisible when focused (above color fix overrides it) */
.text-input:focused {
    -fx-prompt-text-fill: transparent;
}

/* Fix scroll bar buttons arrows colors */
.scroll-bar > .increment-button > .increment-arrow,
.scroll-bar > .decrement-button > .decrement-arrow {
    -fx-background-color: -fx-mark-highlight-color, rgb(220, 220, 220);
}

.scroll-bar > .increment-button:hover > .increment-arrow,
.scroll-bar > .decrement-button:hover > .decrement-arrow {
    -fx-background-color: -fx-mark-highlight-color, rgb(240, 240, 240);
}

.scroll-bar > .increment-button:pressed > .increment-arrow,
.scroll-bar > .decrement-button:pressed > .decrement-arrow {
    -fx-background-color: -fx-mark-highlight-color, rgb(255, 255, 255);
}

.hyperlink {
    -fx-text-fill: aqua;
}

.date-picker-popup > * > .week-number-cell {
    -fx-text-fill: #64d3ff;
}

.date-picker > .arrow-button > .arrow {
    -fx-background-color: grey, white;
}

.date-picker-popup > * > .spinner > .button > .left-arrow,
.date-picker-popup > * > .spinner > .button > .right-arrow {
    -fx-background-color: white;
}

/*list-selection-view*/
.move-to-target-button > .glyph-font,
.move-to-target-all-button > .glyph-font,
.move-to-source-button > .glyph-font,
.move-to-source-all-button > .glyph-font{
    -fx-text-fill: #ebebeb !important;
}
